import request from '@/utils/request'

// 查询成绩表5列表
export function listCourses5(query) {
  return request({
    url: '/system/courses5/list',
    method: 'get',
    params: query
  })
}

// 查询成绩表5详细
export function getCourses5(courseId) {
  return request({
    url: '/system/courses5/' + courseId,
    method: 'get'
  })
}

// 新增成绩表5
export function addCourses5(data) {
  return request({
    url: '/system/courses5',
    method: 'post',
    data: data
  })
}

// 修改成绩表5
export function updateCourses5(data) {
  return request({
    url: '/system/courses5',
    method: 'put',
    data: data
  })
}

// 删除成绩表5
export function delCourses5(courseId) {
  return request({
    url: '/system/courses5/' + courseId,
    method: 'delete'
  })
}
